package com.zoe.provider.service;

import com.api.server.UserService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @program: dubbo1
 * @description:
 * @author: Dawson.Zhang
 * @create: 2020-09-14
 **/
@Service(version = "1.0.0",interfaceClass = UserService.class)
public class UserServiceImpl implements UserService {
    @Override
    public String ins() {
        System.out.println("插入");
        return "插入";
    }

    @Override
    public String del() {
        System.out.println("删除");
        return "删除";
    }

    @Override
    public String upd() {
        System.out.println("修改");
        return "修改";
    }

    @Override
    public String sel() {
        System.out.println("查询");
        return "查询";
    }
}
